<alert class="alert-msg" ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}
</alert>

<form class="form-horizontal">
    <div class="box box-info">
        <div class="box-header with-border">
            <h3 class="box-title">新增属性</h3>
        </div>
        <div class="box-body">

            <div class="form-group">
                <label class="col-sm-2 control-label">标题</label>

                <div class="col-sm-4">
                    <input type="text" class="form-control" ng-model="title">
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">属性类型</label>

                <div class="col-sm-4">
                    <select class="form-control" ng-model="propertyType">
                        <option value="1">SKU</option>
                        <option value="2">其他</option>
                        <option value="3">品牌</option>
                    </select>
                </div>
            </div>

            <!--<div class="form-group">-->
            <!--<label class="col-sm-2 control-label">编辑类型</label>-->

            <!--<div class="col-sm-4">-->
            <!--<input type="text" class="form-control" ng-model="editType">-->
            <!--</div>-->
            <!--</div>-->

            <div class="form-group">
                <label class="col-sm-2 control-label">追加图片</label>

                <div class="col-sm-4">
                    <select class="form-control" ng-model="couldAppendImage">
                        <option value="1">是</option>
                        <option value="2">否</option>
                    </select>
                </div>
            </div>

            <button type="submit" class="btn btn-primary" ng-click="addProperty()">
                新增
            </button>
        </div>
    </div>
</form>



